<template>
  <div id="app">
    <div class="menu_list">
      <router-link to="/">Home</router-link>　
      <router-link to="/myForm">myForm</router-link>　
      <router-link to="/formupload">formupload</router-link>　
      <router-link to="/table">table</router-link>
    </div>
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"/>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"/>
  </div>
</template>
<script>
export default {

}
</script>

<style lang="scss">
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
#nav {
  padding: 30px;
  a {
    font-weight: bold;
    color: #2c3e50;
    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
.menu_list{
  a{
    margin-right:10px;
  }
}
</style>